/*#include<at89x52.h>
#define  RCLK P1_5
#define  SDATA P1_6
#define  SCLK P1_7
void Send(unsigned char Xdata ,unsigned char Ydata)
{
   unsigned char i=0; 
   RCLK=0;
   for(i=0;i<8;i++)
    {
      SDATA=Xdata & 0x01;
      SCLK=1;
      SCLK=0;
      Xdata=Xdata>>1;
   }
   for(i=0;i<8;i++)
    {
      SDATA=Ydata & 0x01;
      SCLK=1;
      SCLK=0;
      Ydata=Ydata>>1;
   }
   RCLK=1;

}

void zi()
{
int i;
char s1[]={0XEF,0XDF,0XBF,0X7F,0XFE,0xfd,0xf};
char s2[]={0x38,0x3f,0x3e,0x79,0x38,0x3f,0x3e,0x79};
char d[]={0xFF,0xBE,0x0E,0x6A,0x9A,0x9A,0x6E,0xFC};
char e[]={0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01};

while(1)
for(i=0;i<8;i++)
{P0=0x00;
//P1=0x9e;P0=0x38;
P1=s1[i];
P0=s2[i];
Send(d[i],e[i]); 
}
}
*/
  
